/**
 * 
 */
package org.cuatrovientos.erp.model;

import java.util.Date;

/**
 * Issue POJO Class
 * 
 * @author Raquel Valenzuela <raquel_valenzuela@cuatrovientos.es>
 *
 */
public class Issue {
	
	private int id;
	private String name;
	private String description;
	private Date date;
	private int idIssueType;
	
	/**
	 * Default Constructor
	 */
	public Issue() {
	}

	/**
	 * 
	 * Constructor
	 * 
	 * @param id
	 * @param name
	 * @param description
	 * @param date
	 * @param idIssueType
	 */
	public Issue(int id, String name, String description, Date date,
			int idIssueType) {
		this.id = id;
		this.name = name;
		this.description = description;
		this.date = date;
		this.idIssueType = idIssueType;
	}
	
	/**
	 * Getters and Setters
	 */
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * @return the idIssueType
	 */
	public int getIdIssueType() {
		return idIssueType;
	}

	/**
	 * @param idIssueType the idIssueType to set
	 */
	public void setIdIssueType(int idIssueType) {
		this.idIssueType = idIssueType;
	}
	
	
	
}
